3.44 \(\int \frac {\sin ^3(a)}{x} \, dx\)

Optimal. Leaf size=7 \[ \sin ^3(a) \log (x) \]

[Out]

ln(x)*sin(a)^3

________________________________________________________________________________________

Rubi [A]  time = 0.00, antiderivative size = 7, normalized size of antiderivative = 1.00, number of steps used = 2, number of rules used = 2, integrand size = 8, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.250, Rules used = {12, 29} \[ \sin ^3(a) \log (x) \]

Antiderivative was successfully verified.

[In]

Int[Sin[a]^3/x,x]

[Out]

Log[x]*Sin[a]^3

Rule 12

Int[(a_)*(u_), x_Symbol] :> Dist[a, Int[u, x], x] /; FreeQ[a, x] &&  !MatchQ[u, (b_)*(v_) /; FreeQ[b, x]]

Rule 29

Int[(x_)^(-1), x_Symbol] :> Simp[Log[x], x]

Rubi steps

\begin {align*} \int \frac {\sin ^3(a)}{x} \, dx &=\sin ^3(a) \int \frac {1}{x} \, dx\\ &=\log (x) \sin ^3(a)\\ \end {align*}

________________________________________________________________________________________

Mathematica [A]  time = 0.00, size = 7, normalized size = 1.00 \[ \sin ^3(a) \log (x) \]

Antiderivative was successfully verified.

[In]

Integrate[Sin[a]^3/x,x]

[Out]

Log[x]*Sin[a]^3

________________________________________________________________________________________

fricas [A]  time = 0.39, size = 12, normalized size = 1.71 \[ -{\left (\cos \relax (a)^{2} - 1\right )} \log \relax (x) \sin \relax (a) \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(sin(a)^3/x,x, algorithm="fricas")

[Out]

-(cos(a)^2 - 1)*log(x)*sin(a)

________________________________________________________________________________________

giac [A]  time = 0.22, size = 8, normalized size = 1.14 \[ \log \left ({\left | x \right |}\right ) \sin \relax (a)^{3} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(sin(a)^3/x,x, algorithm="giac")

[Out]

log(abs(x))*sin(a)^3

________________________________________________________________________________________

maple [A]  time = 0.00, size = 8, normalized size = 1.14 \[ \ln \relax (x ) \left (\sin ^{3}\relax (a )\right ) \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

int(sin(a)^3/x,x)

[Out]

ln(x)*sin(a)^3

________________________________________________________________________________________

maxima [A]  time = 0.30, size = 7, normalized size = 1.00 \[ \log \relax (x) \sin \relax (a)^{3} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(sin(a)^3/x,x, algorithm="maxima")

[Out]

log(x)*sin(a)^3

________________________________________________________________________________________

mupad [B]  time = 2.12, size = 7, normalized size = 1.00 \[ {\sin \relax (a)}^3\,\ln \relax (x) \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

int(sin(a)^3/x,x)

[Out]

sin(a)^3*log(x)

________________________________________________________________________________________

sympy [A]  time = 0.05, size = 7, normalized size = 1.00 \[ \log {\relax (x )} \sin ^{3}{\relax (a )} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(sin(a)**3/x,x)

[Out]

log(x)*sin(a)**3

________________________________________________________________________________________